import React from 'react';
import ReactDOM from 'react-dom';
import { Provider } from 'react-redux';
import {Route,HashRouter as Router } from 'react-router-dom'

import {store,components} from "./store/index"

// import "./static/css/test.css"
import "./static/css/main.scss"


import Volume from "./page/volume"

// -------------

let Volumes = components(Volume);

//渲染组件
ReactDOM.render(
    <Provider store={store}>
        <Router>
            <Route path="/" component={Volumes}></Route>
        </Router>
    </Provider>,
    document.getElementById('root')
)
